package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.team;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.gzhryc.common.api.SecurityResponse;

public class ClerkUserInfoResponse extends SecurityResponse<ClerkUserInfoResponse.Body> {

	private static final long serialVersionUID = 1L;

	public ClerkUserInfoResponse() {
		this.body = new Body();
	}

	public ClerkUserInfoResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;
		
		private Long userId;
		private String userName;
		private String userFaceImg;
		private String userPhone;
		private Integer canCancelOrder;
		private String note;
		private Date lastLoginDate;
		private Date createDate;

		private Integer placeCount;

		private List<FuncModelItem> funcModelItems;

		public Long getUserId() {
			return userId;
		}

		public void setUserId(Long userId) {
			this.userId = userId;
		}

		public String getUserName() {
			return userName;
		}

		public void setUserName(String userName) {
			this.userName = userName;
		}

		public String getUserFaceImg() {
			return userFaceImg;
		}

		public void setUserFaceImg(String userFaceImg) {
			this.userFaceImg = userFaceImg;
		}

		public String getUserPhone() {
			return userPhone;
		}

		public void setUserPhone(String userPhone) {
			this.userPhone = userPhone;
		}
		
		public Integer getCanCancelOrder() {
			return canCancelOrder;
		}

		public void setCanCancelOrder(Integer canCancelOrder) {
			this.canCancelOrder = canCancelOrder;
		}

		public String getNote() {
			return note;
		}

		public void setNote(String note) {
			this.note = note;
		}

		public Date getLastLoginDate() {
			return lastLoginDate;
		}

		public void setLastLoginDate(Date lastLoginDate) {
			this.lastLoginDate = lastLoginDate;
		}

		public Date getCreateDate() {
			return createDate;
		}

		public void setCreateDate(Date createDate) {
			this.createDate = createDate;
		}

		public Integer getPlaceCount() {
			return placeCount;
		}

		public void setPlaceCount(Integer placeCount) {
			this.placeCount = placeCount;
		}

		public List<FuncModelItem> getFuncModelItems() {
			return funcModelItems;
		}

		public void setFuncModelItems(List<FuncModelItem> funcModelItems) {
			this.funcModelItems = funcModelItems;
		}
		
	}
	
	public static class FuncModelItem {

		private Long id;
		private String name;
		private String iconImg;
		private String note;
		private Integer state;

		public Long getId() {
			return id;
		}

		public void setId(Long id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getIconImg() {
			return iconImg;
		}

		public void setIconImg(String iconImg) {
			this.iconImg = iconImg;
		}

		public String getNote() {
			return note;
		}

		public void setNote(String note) {
			this.note = note;
		}

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}
	}

}
